Optimal. Leaf size=95 \[ -\frac {3 a \sqrt {a x^2+b x^3}}{4 b^2 \sqrt {x}}+\frac {\sqrt {x} \sqrt {a x^2+b x^3}}{2 b}+\frac {3 a^2 \tanh ^{-1}\left (\frac {\sqrt {b} x^{3/2}}{\sqrt {a x^2+b x^3}}\right )}{4 b^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.20, antiderivative size = 95, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2049, 2054,
212} \begin {gather*} \frac {3 a^2 \tanh ^{-1}\left (\frac {\sqrt {b} x^{3/2}}{\sqrt {a x^2+b x^3}}\right )}{4 b^{5/2}}-\frac {3 a \sqrt {a x^2+b x^3}}{4 b^2 \sqrt {x}}+\frac {\sqrt {x} \sqrt {a x^2+b x^3}}{2 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 2049
Rule 2054
Rubi steps
\begin {align*} \int \frac {x^{5/2}}{\sqrt {a x^2+b x^3}} \, dx &=\frac {\sqrt {x} \sqrt {a x^2+b x^3}}{2 b}-\frac {(3 a) \int \frac {x^{3/2}}{\sqrt {a x^2+b x^3}} \, dx}{4 b}\\ &=-\frac {3 a \sqrt {a x^2+b x^3}}{4 b^2 \sqrt {x}}+\frac {\sqrt {x} \sqrt {a x^2+b x^3}}{2 b}+\frac {\left (3 a^2\right ) \int \frac {\sqrt {x}}{\sqrt {a x^2+b x^3}} \, dx}{8 b^2}\\ &=-\frac {3 a \sqrt {a x^2+b x^3}}{4 b^2 \sqrt {x}}+\frac {\sqrt {x} \sqrt {a x^2+b x^3}}{2 b}+\frac {\left (3 a^2\right ) \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x^{3/2}}{\sqrt {a x^2+b x^3}}\right )}{4 b^2}\\ &=-\frac {3 a \sqrt {a x^2+b x^3}}{4 b^2 \sqrt {x}}+\frac {\sqrt {x} \sqrt {a x^2+b x^3}}{2 b}+\frac {3 a^2 \tanh ^{-1}\left (\frac {\sqrt {b} x^{3/2}}{\sqrt {a x^2+b x^3}}\right )}{4 b^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 91, normalized size = 0.96 \begin {gather*} \frac {\sqrt {b} x^{3/2} \left (-3 a^2-a b x+2 b^2 x^2\right )-3 a^2 x \sqrt {a+b x} \log \left (-\sqrt {b} \sqrt {x}+\sqrt {a+b x}\right )}{4 b^{5/2} \sqrt {x^2 (a+b x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.38, size = 92, normalized size = 0.97
method | result | size |
risch | \(-\frac {\left (-2 b x +3 a \right ) x^{\frac {3}{2}} \left (b x +a \right )}{4 b^{2} \sqrt {x^{2} \left (b x +a \right )}}+\frac {3 a^{2} \ln \left (\frac {\frac {a}{2}+b x}{\sqrt {b}}+\sqrt {b \,x^{2}+a x}\right ) \sqrt {x}\, \sqrt {x \left (b x +a \right )}}{8 b^{\frac {5}{2}} \sqrt {x^{2} \left (b x +a \right )}}\) | \(89\) |
default | \(\frac {\sqrt {x}\, \left (4 b^{\frac {7}{2}} x^{3}-2 b^{\frac {5}{2}} a \,x^{2}-6 b^{\frac {3}{2}} a^{2} x +3 \sqrt {x \left (b x +a \right )}\, \ln \left (\frac {2 \sqrt {b \,x^{2}+a x}\, \sqrt {b}+2 b x +a}{2 \sqrt {b}}\right ) a^{2} b \right )}{8 \sqrt {b \,x^{3}+a \,x^{2}}\, b^{\frac {7}{2}}}\) | \(92\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.33, size = 159, normalized size = 1.67 \begin {gather*} \left [\frac {3 \, a^{2} \sqrt {b} x \log \left (\frac {2 \, b x^{2} + a x + 2 \, \sqrt {b x^{3} + a x^{2}} \sqrt {b} \sqrt {x}}{x}\right ) + 2 \, \sqrt {b x^{3} + a x^{2}} {\left (2 \, b^{2} x - 3 \, a b\right )} \sqrt {x}}{8 \, b^{3} x}, -\frac {3 \, a^{2} \sqrt {-b} x \arctan \left (\frac {\sqrt {b x^{3} + a x^{2}} \sqrt {-b}}{b x^{\frac {3}{2}}}\right ) - \sqrt {b x^{3} + a x^{2}} {\left (2 \, b^{2} x - 3 \, a b\right )} \sqrt {x}}{4 \, b^{3} x}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{\frac {5}{2}}}{\sqrt {x^{2} \left (a + b x\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.96, size = 71, normalized size = 0.75 \begin {gather*} \frac {3 \, a^{2} \log \left ({\left | a \right |}\right ) \mathrm {sgn}\left (x\right )}{8 \, b^{\frac {5}{2}}} + \frac {\sqrt {b x + a} \sqrt {x} {\left (\frac {2 \, x}{b} - \frac {3 \, a}{b^{2}}\right )} - \frac {3 \, a^{2} \log \left ({\left | -\sqrt {b} \sqrt {x} + \sqrt {b x + a} \right |}\right )}{b^{\frac {5}{2}}}}{4 \, \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^{5/2}}{\sqrt {b\,x^3+a\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________